// 用户相关接口

import { requestApi } from '@/utils/request';
// 获取用户信息
export function getUserInfo() {
    return requestApi({
        url: '/user/info',
        method: 'get',
    });
}
// 修改用户信息
export function editUserInfo(data: any) {
    return requestApi({
        url: '/user/info',
        method: 'put',
        data,
    });
}